package cn.yili12.server.info.vo;

import cn.yili12.server.info.handler.*;
import lombok.Getter;

@Getter
public enum InfoMessageType {
    OnlineList("在线用户列表", OnlineListInfoHandler.class),
    Online("上线", OnlineInfoHandler.class),
    Offline("离线", OfflineInfoHandler.class),
    Receive("接收消息", ReceiveInfoHandler.class),
    Read("已读消息", ReadInfoHandler.class),
    Input("输入中", InputInfoHandler.class);

    private String name;
    private Class handler;

    InfoMessageType(String name, Class handler) {
        this.name = name;
        this.handler = handler;
    }
}
